package liming.ai.code.java_maven.info;

import java.io.File;

public class BaseConfig {
    public static final String JAVA_SOURCE_DIR  = "./src/main/java/";
    public static final String MDS_FILE_PATH = "./target/generated-docs/";
    protected ModeInfo modeInfo;
    public BaseConfig(ModeInfo modeInfo){
        this.modeInfo = modeInfo;
    }
    public File getProjectPath(){
        return new File(modeInfo.getModePath());
    }
    public  File getJavasPath() {
        return new File(getProjectPath(), JAVA_SOURCE_DIR );
    }
    public File getMdsFilePath() {
        return new File(getProjectPath(), MDS_FILE_PATH);
    }
}
